# Create your views here.
from .models import FilmInfo
from dvadmin.utils.viewset import CustomModelViewSet
from ..utils.serializers import CustomModelSerializer


class FilmInfoSerializer(CustomModelSerializer):
    class Meta:
        model = FilmInfo
        fields = '__all__'

# Create your views here.
class FilmInfoViewSet(CustomModelViewSet):
    queryset = FilmInfo.objects.all()
    serializer_class = FilmInfoSerializer